package com.zetor.ms.repository.mapper.poeorder;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zetor.ms.repository.entity.poeorder.OdsBookHeadEntity;
import org.apache.ibatis.annotations.Update;

/**
 * 医嘱存储层 mapper
 *
 * @author zlc
 * @date 2021/11/05
 */
public interface OdsBookHeadMapper extends BaseMapper<OdsBookHeadEntity> {

    @Update("update ODS_BOOK_OUT_HEAD set book_state = #{bookState} where BOOK_SN =#{bookSn}")
    void uptBookState(String bookState, String bookSn);
}
